
 <template>
	<div class="header-like">
		<div class="like-top">
			<span class="iconfont">&#xe699;</span>
			<label>猜你喜欢</label>
		</div>
	</div>
	<ul class="like-list">
		<li class="border-bottom" v-for="(item , index) in likeList" :key="index">
			<div class="item-img">
				<img :src="item.imgURL">
			</div>
			<div class="list-item">
				<p class="item-title">{{item.htil}}</p>
				<p class="item-sad">
					<span class="iconfont">&#xe812;</span>
					<span class="iconfont">&#xe812;</span>
					<span class="iconfont">&#xe812;</span>
					<span class="iconfont">&#xe812;</span>
					<span class="iconfont">&#xe812;</span>
					<label>{{item.msg}}条评论</label>
				</p>
				<div class="item-pri">
					<span>￥<i>{{item.price}}</i></span>起
					<label>{{item.adret}}</label>
				</div>
			</div>
		</li>
	</ul>
	
</template>

<script>
	export default{
		props:['likeList'],
		data(){
			return{
				// likeList : [
				// 	{id:1 , imgURL:require('@/assets/img/hot01.jpg'),htil:'长隆野生动物世界',price:'250',msg:'155609',adret:'广州长隆'},
				// 	{id:2 , imgURL:require('@/assets/img/hot02.jpg'),htil:'长隆欢乐世界',price:'210.5',msg:'83133',adret:'广州长隆'},
				// 	{id:3 , imgURL:require('@/assets/img/hot03.jpg'),htil:'广州塔',price:'125',msg:'47241',adret:'海珠区'},
				// 	{id:4 , imgURL:require('@/assets/img/hot04.jpg'),htil:'海珠国家湿地公园',price:'19',msg:'2951',adret:'广州长隆'},
				// 	{id:5 , imgURL:require('@/assets/img/hot05.jpg'),htil:'长隆国际大马戏剧院',price:'297.6',msg:'47241',adret:'天河区'},
				// 	{id:6 ,imgURL:require('@/assets/img/hot06.jpg'),htil:'主江夜游',price:'68',msg:'2951',adret:'南沙区'},
				// 	{id:7 ,imgURL:require('@/assets/img/hot07.jpg'),htil:'天造樱花游乐园',price:'250',msg:'47241',adret:'广州长隆'},
				// 	{id:8 ,imgURL:require('@/assets/img/hot08.jpg'),htil:'广州长隆旅游度假区',price:'84.3',msg:'2951',adret:'广州长隆'},
				// 	{id:9 ,imgURL:require('@/assets/img/hot09.jpg'),htil:'广州融创雪世界',price:'101',msg:'47241',adret:'广州融创'},
				// 	{id:10 ,imgURL:require('@/assets/img/hot10.jpg'),htil:'广州正佳极地海洋',price:'115',msg:'2951',adret:'天河区'},
				// ]
			}
		}
	}
</script>


<style scoped>
	.header-like{
		width: 100%;
		background-color: white;
		margin-top: 0.4rem;
	}
	.like-top{
		font-size: 0.28rem;
		padding: 0.2rem 0 0.2rem 0.2rem;
		background-color: white;
	}
	.like-top .iconfont{
		color: #FF4500;
		margin-right: 0.1rem;
		background-color: white;
	}
	.like-top label{
		font-weight: bold;
	}
	.like-list{
		width: 100%;
		overflow: hidden;
		background-color: white;
		padding-bottom: 0.4rem;
	}
	.like-list li{
		width: 100%;
		font-size: 0.28rem;
		position: relative;
		overflow: hidden;
		border-bottom: 1px solid #CCCCCC;
	}
	
	.item-img{
		float: left;
		width: 2rem;
		height: 2rem;
		padding: 0.2rem;
	}
	.item-img img{
		width:100%;
		height: 100%;
	}
	.list-item{
		width: 60%;
		float: left;
		padding-top:0.2rem;
		margin-left: 0.2rem;
	}
	.item-title{
		font-size: 0.36rem;
	}
	.item-sad{
		margin: 0.4rem 0;
	}
	.item-sad .iconfont{
		color: yellow;
	}
	.item-sad label{
		margin-left: 0.1rem;
	}
	.item-pri span{
		color: orangered;
	}
	.item-pri i{
		font-style: normal;
		font-size: 0.3rem;
	}
	.item-pri label{
		float: right;
	}
</style>